package com.dianban.service.impl;


import com.dianban.dao.JwShoproAreaDao;
import com.dianban.entity.JwShoproArea;
import com.dianban.service.JwShoproAreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Service
@Transactional(readOnly = true)
public class JwShoproAreaServiceImpl implements JwShoproAreaService {

    @Autowired
    private JwShoproAreaDao jwShoproAreaDao;

    @Override
    public List<JwShoproArea> findList(String pid) {
        return jwShoproAreaDao.findList(pid);
    }

    @Override
    public JwShoproArea findById(String id) {
        return jwShoproAreaDao.findById(id);
    }

}
